package com.eduadmin.service;

import com.eduadmin.entity.Teacher;

import java.util.List;
import java.util.Map;
/**
 *基础数据-教师表业务接口
 **/
public interface ITeacherService {
    // 保存用户信息 hgm
    void addTeachers(List<Teacher> teachers);
    //hgm 获取教师
    Teacher getTeacherByTeacherIdcard(String teacherIdcard);

    // 查询所有用户信息 hgm
    List<Teacher> getAllTeachers(Map<String, Object> paraMap);

    //查询教师信息总数 hgm
    long getAllTotal(Map<String, Object> paraMap);

    //新增教师 hgm
    int newAddTeacher(Teacher teacher);

    //hgm 编辑教师
    int editTeacher(Teacher teacher);
    //hgm 删除教师
    int deleteTeacher(String teacherIdCardString);
    //hgm 获取教师
    Teacher getTeacherByTeacherName(String teacherName);
}
